class Student(object):
    __slots__=('name','age')
    pass
s=Student()
s.name='画手'
s.age='40'
s.grade=3
